#ifndef SK_PROJECT_ITEM_H
#define SK_PROJECT_ITEM_H

#include "sk_game_item.h"

namespace sk
{

    class GameProject;
	struct SimpleItemParam;

    class ProjectItem : public GameItem
    {
    public:
        ProjectItem(GameItem * parent, GameProject * project);
        ~ProjectItem();
        int numChilds();
        virtual GameItem * getChildItem(int i);
        virtual void paint(QPainter * painter, const QStyleOptionViewItem & option, int row, int column);
        virtual GameItem * createItem(void * params);
        GameProject * _project;
        GameItemType type();
        void doDeleteChild(int ind);
        void doSwapChilds(int i, int j);
    };

} // namespace sk

#endif // SK_PROJECT_ITEM_H
